//package com.example.pmxt.configuration;
//
//import org.springframework.beans.factory.annotation.Value;
//import org.springframework.context.annotation.Bean;
//import org.springframework.context.annotation.Configuration;
//import springfox.documentation.builders.RequestHandlerSelectors;
//import springfox.documentation.oas.annotations.EnableOpenApi;
//import springfox.documentation.spi.DocumentationType;
//import springfox.documentation.spring.web.plugins.Docket;
//
//@Configuration
//@EnableOpenApi
//public class SwaggerConfiguration {
//
//    @Value("${spring.swagger.enabled}")
//    private Boolean enabled;
//
//    @Bean
//    public Docket docket() {
//        return new Docket(DocumentationType.OAS_30)
//                .enable(enabled)
//                .select()
//                .apis(RequestHandlerSelectors.any())
//                .build();
//    }
//
//
//}
